<?php
/**
 * @package Hello_Dolly
 * @version 1.5.1
 */
/*
Plugin Name: My plugin Hello Dolly
Plugin URI: http://wordpress.org/#
Description: this is my first plugin . This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
Author: tongliang
Version: 1.0.0
Author URI: http://ma.tt/
*/


function homepage_greeting(){
	echo '<p id="greeting">This is HOME page! Greeting from my plugin...</p>';
}
add_action('in_home', 'homepage_greeting');

function greeting_css() {
	echo "<style type='text/css'>
	#greeting {
		color:blue;
		font-size:2em;
	}
	</style>
	";
}
add_action('head', 'greeting_css');

?>
